package homework.work3.service;

import homework.work3.model.Product;

public interface ProductService {

    Product[] getAllProducts();

    boolean addProduct(Product product);

    Product getProductsID(int i);

    Product getProductsName(String name);

    Product updateProduct(Product p);
}
